package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantMonthProductPlanDetail;
import com.beamfield.modelVo.SteelplantProductPlanVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantMonthProductPlanDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantMonthProductPlanDetail record);

    int insertSelective(SteelplantMonthProductPlanDetail record);

    SteelplantMonthProductPlanDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantMonthProductPlanDetail record);

    int updateByPrimaryKey(SteelplantMonthProductPlanDetail record);

    int deleteByMonthPlanId(Long monthPlanId);

    List<SteelplantProductPlanVO> selectPage(@Param("offset") String offset, @Param("limit") String limit, @Param("beamId") Long beamId,@Param("monthId") Long monthId);

    long countPage(@Param("beamId") Long beamId,@Param("monthId") Long monthId);

    List<SteelplantMonthProductPlanDetail> selectYear(Long beamId);
}
